Skip to main content
Version: 1.0.2

Approve the transaction tickets

The Approve the transaction tickets API is used to approve or sign the transaction tickets. This API facilitates the approval process for tickets related to send transactions.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

ID

Mandatory

String

It represents the unique identifier or ID associated with the transaction ticket.

Ex: "1088001"

requestID

Mandatory

String

It denotes the unique identifier or ID associated with the request or transaction.

Ex: "175001"

ticketName

Mandatory

String

It specifies the name or identifier associated with the transaction ticket.

Ex: "WALLET_SEND"

xdr

Mandatory

Number

It contains the encoded XDR (Stellar Decentralized Exchange Record) data representing the transaction.

Ex: "AAAAAgAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAGQAAk9GAAAACgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAQAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAAEAAAAAC3p5R6SWwUzGtIR4+3aqUFZWQt2HOdKL+VDa8l7eZO0AAAAAAAAAAAHJw4AAAAAAAAAAAUE6UjMAAABAUfkhG/T1AgPJcu6moHlFNcMRXD9KOv+4nKkE5MtfY1bARHaB8e/Put2QOSe+62LAzLiZRUuWhM2iYp2Qd+B0BA=="


curl --location '{{url}}/rpc/WalletService/UpdateTransaction' \
--header 'DiviceID: 8020' \
--header 'Signature: keyId=8020,algorithm=ecdsa-sha256,signature=MEUCIQCNi1vjPf/HpI9R2DXnc0Zt1s6YmWyA4H1x813lJ+tuDgIgB+lrc+iCMyTUGiraG9kGKNDXYiz7RfBBtifr5wUQs54=' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tFbWFpbH19Ont7UGFzc3dvcmR9fQ==' \
--data '{"ID":"1088001","requestID":"175001","ticketName":"WALLET_SEND","xdr":"AAAAAgAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAGQAAk9GAAAACgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAQAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAAEAAAAAC3p5R6SWwUzGtIR4+3aqUFZWQt2HOdKL+VDa8l7eZO0AAAAAAAAAAAHJw4AAAAAAAAAAAUE6UjMAAABAUfkhG/T1AgPJcu6moHlFNcMRXD9KOv+4nKkE5MtfY1bARHaB8e/Put2QOSe+62LAzLiZRUuWhM2iYp2Qd+B0BA=="}'

Body


{
"ID": "1088001",
"requestID": "175001",
"ticketName": "WALLET_SEND",
"xdr": "AAAAAgAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAGQAAk9GAAAACgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAQAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAAEAAAAAC3p5R6SWwUzGtIR4+3aqUFZWQt2HOdKL+VDa8l7eZO0AAAAAAAAAAAHJw4AAAAAAAAAAAUE6UjMAAABAUfkhG/T1AgPJcu6moHlFNcMRXD9KOv+4nKkE5MtfY1bARHaB8e/Put2QOSe+62LAzLiZRUuWhM2iYp2Qd+B0BA=="
}

Response: 200

Response Parameters
ParameterDescription

ID

String

It represents the unique identifier or ID associated with the transaction ticket.

Ex: "1088001"

asset

String

It denotes the asset code or symbol of the transaction.

Ex: "XLM"

reason

String

It provides a description or reason associated with the transaction.

Ex: "test"

destination

String

It specifies the public key or address of the destination account for the transaction.

Ex: "GAFXU6KHUSLMCTGGWSCHR63WVJIFMVSC3WDTTUUL7FINV4S63ZSO2JIV"

fee

String

It indicates the fee amount associated with the transaction.

Ex: "100"

memoType

String

It denotes the type of memo used in the transaction.

Ex: "text"

xdr

String

It contains the encoded XDR (Stellar Decentralized Exchange Record) data representing the transaction.

Ex: "AAAAAgAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAGQAAk9GAAAACgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAQAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAAEAAAAAC3p5R6SWwUzGtIR4+3aqUFZWQt2HOdKL+VDa8l7eZO0AAAAAAAAAAAHJw4AAAAAAAAAAAUE6UjMAAABAUfkhG/T1AgPJcu6moHlFNcMRXD9KOv+4nKkE5MtfY1bARHaB8e/Put2QOSe+62LAzLiZRUuWhM2iYp2Qd+B0BA=="

amount

String

It represents the amount or quantity of the asset being transacted.

Ex: "3"

signers

Array

ID

String

It represents the unique identifier or ID associated with the signer.

Ex: "994002"

name

String

It specifies the name or identifier of the signer.

Ex: "ChennaReddy"

createdDate

String

It denotes the date and time when the signer was created.

Ex: "0001-01-01T00:00:00Z"

updatedDate

String

It indicates the date and time when the signer was last updated or modified.

Ex: "0001-01-01T00:00:00Z"

requestID

String

Represent.

Ex: "175001"

message

String

It provides a message or information regarding the status of the transaction submission.

Ex: "Transaction Submitted Successful"

hash

String

It represents the hash value associated with the transaction.

Ex: "b60a51543f3fb8fdc7c3a53a68e324b700a8c60eb47ec586a000b4fc3408152b"

senderID

String

It represents the unique identifier or ID associated with the sender's wallet or account.

Ex: "1088001"

senderName

String

It specifies the name or identifier associated with the sender's wallet or account.

Ex: "bug"

senderPublicKey

String

It denotes the public key associated with the sender's wallet or account.

Ex: "GAFKNNLIC7R3GKO5DEF5XAP3M35J6TEZRVM4VJP7FVFOC3ENLSO4ZC4K"

transactionType

String

It indicates the type of transaction, in this case.

Ex: "WALLET_SEND"

issuer

String

It represents the public key or address of the asset issuer.

Ex: "native"

receiverID

String

It represents the unique identifier or ID associated with the receiver's wallet or account.

Ex: "9991103002"

receiverName

String

It specifies the name or identifier associated with the receiver's wallet or account.

Ex: "SignerTest108"

receiverType

String

It indicates the type of the receiver's wallet or account.

Ex: "INTERNAL"

receiverPublicKey

String

It denotes the public key associated with the receiver's wallet or account.

Ex: "GAFXU6KHUSLMCTGGWSCHR63WVJIFMVSC3WDTTUUL7FINV4S63ZSO2JIV"

ticketName

String

It specifies the name or identifier associated with the transaction ticket.

Ex: "WALLET_SEND"

actualRequiredThreshold

Number

It represents the actual required threshold or minimum number of signatures needed to authorize the transaction.

Ex: 4

ProcessId

String

It represents the unique identifier or ID associated with the transaction process.

Ex: "b60a51543f3fb8fdc7c3a53a68e324b700a8c60eb47ec586a000b4fc3408152b"


{
"ID": "1088001",
"asset": "XLM",
"reason": "test",
"destination": "GAFXU6KHUSLMCTGGWSCHR63WVJIFMVSC3WDTTUUL7FINV4S63ZSO2JIV",
"fee": "100",
"memoType": "text",
"xdr": "AAAAAgAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAGQAAk9GAAAACgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAQAAAAAKprVoF+OzKd0ZC9uB+2b6n0yZjVnKpf8tSuFsjVydzAAAAAEAAAAAC3p5R6SWwUzGtIR4+3aqUFZWQt2HOdKL+VDa8l7eZO0AAAAAAAAAAAHJw4AAAAAAAAAAAUE6UjMAAABAUfkhG/T1AgPJcu6moHlFNcMRXD9KOv+4nKkE5MtfY1bARHaB8e/Put2QOSe+62LAzLiZRUuWhM2iYp2Qd+B0BA==",
"amount": "3",
"signers": [
{
"ID": "994002",
"name": "ChennaReddy",
"createdDate": "0001-01-01T00:00:00Z",
"updatedDate": "0001-01-01T00:00:00Z"
}
],
"requestID": "175001",
"message": "Transaction Submitted Successful",
"hash": "b60a51543f3fb8fdc7c3a53a68e324b700a8c60eb47ec586a000b4fc3408152b",
"senderID": "1088001",
"senderName": "bug",
"senderPublicKey": "GAFKNNLIC7R3GKO5DEF5XAP3M35J6TEZRVM4VJP7FVFOC3ENLSO4ZC4K",
"transactionType": "WALLET_SEND",
"issuer": "native",
"receiverID": "9991103002",
"receiverName": "SignerTest108",
"receiverType": "INTERNAL",
"receiverPublicKey": "GAFXU6KHUSLMCTGGWSCHR63WVJIFMVSC3WDTTUUL7FINV4S63ZSO2JIV",
"ticketName": "WALLET_SEND",
"actualRequiredThreshold": 4,
"ProcessId": "b60a51543f3fb8fdc7c3a53a68e324b700a8c60eb47ec586a000b4fc3408152b"
}